package com.yhcnet.blog.dao;

import com.yhcnet.blog.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {
    public int regist(User user);//注册
    public User login(User user);//登录
    public int updateUUID(User user);//更新UUID
    public User judge(String UUID);//判断用户是否有权限
    public User getUserByEmail(String email);//重复注册不允许
    public List<User> getUser();//获取用户列表
}
